//void unsigned_div() {
//	unsigned int a = 100;
//	unsigned int b = 32;
//	*((unsigned int *)0xc000) = a / b;
//	*((unsigned int *)0xc002) = a % b;
//}

void signed_div() {
	signed int a = -100;
	signed int b = 32;
	*((unsigned int *)0xc004) = a / b;
	*((unsigned int *)0xc006) = a % b;
}

void main() {
	signed_div();
	while (1);
}
